<html>
<head>
	<title>NyuFX GUI</title>
</head>
<body bgcolor="#F0F0F0">

<font color=red size=5><b>Beware: this GUI documentation is from version 1.5! Some changes aren't listed yet.</b></font>

<table style="border-style:outset;border-width:thick;border-color:#000000;"><tr><td><img width=1200 src="res/GUI/GUI.jpg"></td></tr></table>
<ol style="color: yellow; font-weight: bold; font-size: 20px">
<li><font color="black" size=3>Lua editor title and opened file. Lamp on the left turns on when file is saved before.</font></li>
<li><font color="black" size=3>ASS editor title and opened file. Lamp on the left turns on when file is saved before.</font></li>
<li><font color="black" size=3>Lua editor with Lua syntax highlighting and folding. Drop file to open it.<br>
Containing code will be executed to generate the output file.</font></li>
<li><font color="black" size=3>ASS editor with INI syntax highlighting. Drop file to open it.<br>
Containing code is read and parsed by 'io.load_ass' before Lua code execution.</font></li>
<li><font color="black" size=3>Official NyuFX logo.</font></li>
<li><font color="black" size=3>Process log. Additional entries by call of Lua function 'print'. Useful for debugging.</font></li>
<li><font color="black" size=3>Progressbar. Set by call of Lua function 'io.progressbar'. Useful for debugging.</font></li>
<li><font color="black" size=3>Output file, possible by drop. Generated by opened files in editors.</font></li>
<li><font color="black" size=3>File dialog to choose output file.</font></li>
<li><font color="black" size=3>Start/cancel of generation process.</font></li>
<li><font color="black" size=3>Open output file.</font></li>
<li><font color="black" size=3>MS-DOS command, executed after successful process run.</font></li>
<li><font color="black" size=3>Statusbar. Shows information about menu entries.</font></li>
</ol>
<hr style="border:dashed #A0A0FF 4px; background-color:#000000;">
<table style="border-style:outset;border-width:thick;border-color:#000000;"><tr><td><img src="res/GUI/menu.jpg"></td></tr></table>
<ul style="font-weight: bold; font-size: 20px">
<li><font color="black">File</font><ul style="font-weight: normal; font-size: 16px">
<li><b>NONE/Lua editor/ASS editor:</b> Currently focused editor. Some operations are depending on this focus.</li>
<li><b>New:</b> Clears editor title and content. No file is opened in editor anymore.</li>
<li><b>Open:</b> Opens file dialog to open a file in editor.</li>
<li><b>Reload:</b> Reloads content of currently opened file in editor.</li>
<li><b>Save:</b> Saves content of currently opened file in editor.</li>
<li><b>Save as...:</b> Saves content to chosen file in file dialog.</li>
<li><b>Quit:</b> Closes application.</li>
</ul></li>
<li><font color="black">Edit</font><ul style="font-weight: normal; font-size: 16px">
<li><b>Undo:</b> Undos last action.</li>
<li><b>Redo:</b> Repeal undo action.</li>
<li><b>Cut:</b> Cuts editor selection to systemwide clipboard.</li>
<li><b>Copy:</b> Copies editor selection to systemwide clipboard.</li>
<li><b>Paste:</b> Pastes text of systemwide clipboard into editor.</li>
<li><b>Delete:</b> Deletes backwards one character in editor.</li>
<li><b>Select all:</b> Selects the whole text in editor.</li>
<li><b>Replace:</b> Replace dialog for chosen editor.<br>
If text is selected, 'Replace all' just replaces hits in selection.</li>
<li><b>Auto-Style:</b> Formats text in editor.<br>
<u>Lua editor:</u><br>
Limits spaces to one blank except indents.<br>
Erases pre- and postspace of lines.<br>
Limits line breaks to 3 in row.<br>
Defines fitting indents.<br>
<u>ASS editor:</u><br>
Erases pre- and postspace of lines.<br>
Limits line breaks to 3 in row.</li>
</ul></li>
<li><font color="black">View</font><ul style="font-weight: normal; font-size: 16px">
<li><b>Editor view</b><ul>
<li><b>Lua editor:</b> Makes Lua editor (in-)visible.</li>
<li><b>ASS editor:</b> Makes ASS editor (in-)visible.</li>
</ul></li>
<li><b>Go to line...:</b> Moves caret to chosen line in editor.</li>
<li><b>Zoom in:</b> Nearer view of editor.</li>
<li><b>Zoom out:</b> Farther view of editor.</li>
<li><b>Fold all:</b> Folds all code in Lua editor.</li>
<li><b>Unfold all:</b> Unfolds all code in Lua editor.</li>
<li><b>Folders</b><ul>
<li><b>Includes:</b> Opens NyuFX include folder. All Lua files inside will be loaded before Lua editor file.<br>
This folder works as automatic Lua environment extension.</li>
<li><b>Templates:</b> Opens NyuFX templates folder. Place for template files for later reuse. </li>
<li><b>Tools:</b> Opens NyuFX tools folder. All executables and links inside are listed in Tools menu at NyuFX startup.</li>
</ul></li>
</ul></li>
<li><font color="black">Reset</font><ul style="font-weight: normal; font-size: 16px">
<li><b>Log:</b> Clears text of log.</li>
<li><b>Progressbar:</b> Sets progressbar status to 0%.</li>
</ul></li>
<li><font color="black">Tools</font><ul style="font-weight: normal; font-size: 16px">
<li><b>ASSDraw3:</b> Appears if ASSDraw3 was checked by install of NyuFX.<br>
All entries of Tools menu are executables or links in NyuFX tools folder.</li>
</ul></li>
<li><font color="black">Help</font><ul style="font-weight: normal; font-size: 16px">
<li><b>Help browser:</b> Window to browse help files or search in web.</li>
<li><b>About:</b> Informations about NyuFX.</li>
</ul></li>
</ul>
<hr style="border:dashed #A0A0FF 4px; background-color:#000000;">
<font size=4><b>Command line options:</b></font><br>
<table style="border-collapse:collapse;">
<tr><td style="border-style: solid; border-color:#000000; border-width:thin">&lt;input file&gt;</td></tr>
<tr><td style="border-style: solid; border-color:#000000; border-width:thin">-i &lt;input file&gt;</td></tr>
<tr><td style="border-style: solid; border-color:#000000; border-width:thin">-o &lt;output file&gt;</td></tr>
<tr><td style="border-style: solid; border-color:#000000; border-width:thin">-cmd &lt;after process command&gt;</td></tr>
<tr><td style="border-style: solid; border-color:#000000; border-width:thin">-run</td></tr>
</table>
<b>Example:</b><br>
<font style="background-color:#000000; color:#F0F0F0; font-weight:bold;">NyuFX -i templates/test.ass templates/test.lua -o templates/out.ass -cmd "call templates/test.bat" -run</font> 

</body>
</html>